// pages/button2/button2.js
Page({
  handleConsole(){
    console.log('我被点了')
  },
  c1(){
    console.log('文件已经保存！！')
  },
  parent(){
    console.log('父亲被点了')
  },
  child(){
    console.log('儿子被点了')
  },
  handnavigateto(){
    wx.navigateTo({
      url: '/pages/button2/button2?name=navigate&age=10',
    })
  },
  handredirectto(){
    wx.redirectTo({
      url: '/pages/button2/button2?name=redirect&age=11',
    })
  }
})
